//
//  SignListCell.m
//  LuCaiZhu
//
//  Created by Stella on 2018/9/21.
//
#import "DBHelper.h"
#import "CKPuslichTool.h"
#import "SignListCell.h"

@implementation SignListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    UIViewSetRadius(_seeButton, 3, 0, nil);
}

- (void)setSignMode:(SignListMode *)signMode {
    _name.text = signMode.SubProductName;
    NSDate *dateTime =  [DBHelper dateFromCustomString:signMode.CreateTime format:@"yyyy-MM-dd"];
    NSString *time = [DBHelper stringFromCustomFormatDate:dateTime format:@"yyyy-MM-dd"];
    _time.text = time;
    _statusLa.text = signMode.SigningStatus;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
